package miiteen.twoexploit.dao;

import miiteen.data.dao.impl.BaseDaoImpl;
import miiteen.twoexploit.beans.Filedownload;
import org.springframework.stereotype.Repository;

/**
 * Name: lzhg_two_instructor
 * Des: -Dao
 * Author: qyp
 * Date: 2021-10-20
 * 文件上传
 */
@Repository("filedownloadDao")
public class FiledownloadDao extends BaseDaoImpl<Filedownload>{

    @Override
	protected String getMapper() {
		return "miiteen.twoexploit.beans.Filedownload";
	}


	/**
	 * 通过主表删除
	 * @param ids
	 * @return
	 */
	public long  deletelzhgById(String ids) {
		return	 getSqlSession().delete(getMapper() + ".deletelzhgById", ids);
	}


}